Class: BrowserExtension

BrowserExtension Class

Namespace

ITHit.WebDAV.Client

This class provides methods for working with browser extensions. This include checking protocol version and supported Office URI Schemes.

Methods

staticITHit.WebDAV.Client.BrowserExtension.GetDavProtocolAppVersionAsync(fCallback)

This function get protocol version asynchronously If browser extension does not fill data in '_Timeout' time, or error occurred <'successCallback' called with null.
Name Type Description
fCallback ITHit.WebDAV.Client.BrowserExtension~GetDavProtocolAppVersionAsync Function to call when operation is completed.

staticITHit.WebDAV.Client.BrowserExtension.IsProtocolAvailableAsync(sExt, fCallback)

This function check if Office URI Scheme installed for file extension. If browser extension does not fill data in '_Timeout', or error occurred 'successCallback' called with false.
Name Type Description
sExt string optional File extension.
fCallback ITHit.WebDAV.Client.BrowserExtension~IsProtocolAvailableAsync Function to call when operation is completed.

Type Definitions

GetDavProtocolAppVersionAsyncCallback(oAsyncResult)

Callback function to be called when protocol version retrieved.
Name Type Description
oAsyncResult ITHit.WebDAV.Client.AsyncResult Result object
Name Type Description
Result string Protocol version.

IsProtocolAvailableAsyncCallback(oAsyncResult)

Callback function to be called when protocol support checked.
Name Type Description
oAsyncResult ITHit.WebDAV.Client.AsyncResult Result object
Name Type Description
Result boolean Is protocol supported.